package com.contest.entity;

import com.baomidou.mybatisplus.annotations.TableId;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * 
 *
 * @author liuyf
 * @email 123456@qq.com
 * @date 2018-01-19 14:16:33
 */
@TableName("sys_notice")
public class SysNotice extends Model<SysNotice> implements Serializable {

    private static final long serialVersionUID = 1L;


    @TableId("fd_id")
	private String fdId;
	//公告内容
	@TableField("fd_content")
	private String fdContent;
	//公告类型
	@TableField("fd_type")
	private Integer fdType;
	//是否启用0:否,1:是
	@TableField("fd_status")
	private Integer fdStatus;

	/**
	 * 设置：主键
	 */
	public void setFdId(String fdId) {
			this.fdId = fdId;
	}
	/**
	 * 获取：主键
	 */
	public String getFdId() {
			return fdId;
	}
	/**
	 * 设置：公告内容
	 */
	public void setFdContent(String fdContent) {
			this.fdContent = fdContent;
	}
	/**
	 * 获取：公告内容
	 */
	public String getFdContent() {
			return fdContent;
	}
	/**
	 * 设置：公告类型
	 */
	public void setFdType(Integer fdType) {
			this.fdType = fdType;
	}
	/**
	 * 获取：公告类型
	 */
	public Integer getFdType() {
			return fdType;
	}
	/**
	 * 设置：是否启用0:否,1:是
	 */
	public void setFdStatus(Integer fdStatus) {
			this.fdStatus = fdStatus;
	}
	/**
	 * 获取：是否启用0:否,1:是
	 */
	public Integer getFdStatus() {
			return fdStatus;
	}

	@Override
	protected Serializable pkVal() {
			return this.fdId;
	}
}
